package org.example;

public class TailDecorator1 extends DecorateForm{
    private Form form;

    public TailDecorator1(Form form) {
        this.form = form;
    }

    public void addTail1(){
        this.form.setContent(form.getContent()+"表尾1");
    }

    public String getContent() {
        return form.getContent();
    }
}
